//
//  HXHotShopingModel.m
//  ZCooking
//
//  Created by 韩旭 on 16/9/4.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXHotShopingModel.h"
#import "HXHotSmallModel.h"

@implementation HXHotShopingModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        self.ID = (NSInteger)value;
    }
}
- (instancetype)initWithDic:(NSDictionary *)dic {
    self = [super initWithDic:dic];
    if (self) {
      self.imageList = [[HXHotSmallModel getWithArray:dic[@"imageList"]] mutableCopy];
    }
    return self;
}
+ (BaseModel *)ModelWithDic:(NSDictionary *)dic {
    return [[HXHotShopingModel alloc] initWithDic:dic];
}
@end
